package com.yintao.ytframe.base.design.factory.normal.rpc;

import com.yintao.ytframe.base.design.factory.normal.bo.CouponResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Description
 * @Author yintao12
 * @Date 2021/1/4 19:50
 * @Doc
 **/
public class CouponRpcService {

    private static final Logger log = LoggerFactory.getLogger(CouponRpcService.class);

    public CouponResult sendCoupon(String uId, String couponNumber, String uuid) {
        log.info("CouponRpcService -> sendCoupon start, uId={}, couponNumber={}, uuid={}", uId, couponNumber, uuid);
        CouponResult couponResult = new CouponResult();
        couponResult.setCode("0000");
        couponResult.setMsg("success");
        return couponResult;
    }
}
